#include"Mesh.h"

Mesh::Mesh()
{
}

Mesh::~Mesh()
{
}

void Mesh::AddVertex(const Vec4f pos, float u, float v, const Color color)
{
	Vertex ver(pos, color, Vec2(u, v));
	vertexBuffer.push_back(ver);
}

void Mesh::AddVertex(float x, float y, float z, float u, float v, const Color color)
{
	AddVertex(Vec4f(x, y, z), u, v, color);
}

void Mesh::AddVertex(float x, float y, float z, float u, float v, Vec4f norm, const Color color)
{
	Vertex ver( Vec4f(x, y, z), color, norm, Vec2(u,v));
	vertexBuffer.push_back(ver);
}
